﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SqlCe4Mvc3Application1.Models
{
    /// <summary>
    /// Orchard_Framework_ContentItemVersionRecord.
    /// </summary>
    [Serializable]
    [RaisingStudio.Data.DataTable("Orchard_Framework_ContentItemVersionRecord")]
    partial class Orchard_Framework_ContentItemVersionRecord
    {
        #region Members
		
		private int _Id;
		/// <summary>
		/// Id.
		/// </summary>
		[System.ComponentModel.Description("Id")]
        [RaisingStudio.Data.DataColumn("Id", AllowDBNull = false, IsPrimaryKey = true)]
		public int Id
		{
			get 
			{
				return this._Id;
			}
			set 
			{
				this._Id = value;
			}
		}

		private int? _Number;
		/// <summary>
		/// Number.
		/// </summary>
		[System.ComponentModel.Description("Number")]
        [RaisingStudio.Data.DataColumn("Number")]
		public int? Number
		{
			get 
			{
				return this._Number;
			}
			set 
			{
				this._Number = value;
			}
		}

		private bool? _Published;
		/// <summary>
		/// Published.
		/// </summary>
		[System.ComponentModel.Description("Published")]
        [RaisingStudio.Data.DataColumn("Published")]
		public bool? Published
		{
			get 
			{
				return this._Published;
			}
			set 
			{
				this._Published = value;
			}
		}

		private bool? _Latest;
		/// <summary>
		/// Latest.
		/// </summary>
		[System.ComponentModel.Description("Latest")]
        [RaisingStudio.Data.DataColumn("Latest")]
		public bool? Latest
		{
			get 
			{
				return this._Latest;
			}
			set 
			{
				this._Latest = value;
			}
		}

		private string _Data;
		/// <summary>
		/// Data.
		/// </summary>
		[System.ComponentModel.Description("Data")]
        [RaisingStudio.Data.DataColumn("Data")]
		public string Data
		{
			get 
			{
				return this._Data;
			}
			set 
			{
				this._Data = value;
			}
		}

		private int? _ContentItemRecord_id;
		/// <summary>
		/// ContentItemRecord_id.
		/// </summary>
		[System.ComponentModel.Description("ContentItemRecord_id")]
        [RaisingStudio.Data.DataColumn("ContentItemRecord_id")]
		public int? ContentItemRecord_id
		{
			get 
			{
				return this._ContentItemRecord_id;
			}
			set 
			{
				this._ContentItemRecord_id = value;
			}
		}

		#endregion
    }
}
